<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../Public/js/jquery-1.7.1.min.js"></script>
<title>文章列表分类</title>
<script type="text/javascript">

function selectArticle(aid){
    var catid = $('#catid').val();
    var url="detail/deid/"+aid+"/catid/"+catid;
    window.location.href="{:U('"+url+"')}";
}
function editDiscuss(disid){
    var url = "editDiscuss/disid/"+disid;
    window.location.href = "{:U('"+url+"')}";
}
function deleteDiscuss(disid){
    var url = "deleteDiscuss/disid/"+disid;
    window.location.href = "{:U('"+url+"')}";
}
</script>
<style>
div{
	margin:0px;
	margin-left:auto;
	margin-right:auto;
	
	/*border:solid ;
	border-color:#Ff0000;*/
	}
a{
    color:#047f80;
    text-decoration: none;
}

.tab{
	border:thin solid #d0d0d0;
	float:left;
	height:39px;
	border-bottom:none;
	line-height:39px;
	font-size:16px;
	color:#626262;
	text-align:center;
	width:80px;
	font-weight:bold;
	cursor:pointer;
	}	
.setab{
	background:#d8f3fe;
	color:#1f9692;
	}
 .myfontstyle{
    font-family:'黑体';
    letter-spacing:1px;
}	
</style>
</head>

<body style="background: #ffffff;">
<volist name="list" id="vo">  
<!--讨论题开始-->
			<div class="myfontstyle" style="width:95%;margin-left:20px;margin-top:10px;">
            	<div style="float:left;width:100%">
                    <div style="width:100%;height:36px;">
                    	<div style="float:left;background:url(../Public/discuss/image/m_greenline.png) repeat-x left bottom;width:90%;height:36px; line-height:36px;color:#24b33b;font-size:12pt;"><a href="#" onclick="selectArticle({$vo.id})">{$vo.title}</a><span style="float:right;color:#047888;font-size:6pt;">{$vo.wtime}&nbsp;&nbsp;</span></div>
                       	<div style="float:left;background:url(../Public/discuss/image/greenline.png) no-repeat left bottom;width:10%;height:36px; line-height:36px;color:#888888;font-size:8pt; font-style:oblique;"><a href="#" onclick="editDiscuss({$vo.id})">编辑</a>||<a href="#" onclick="deleteDiscuss({$vo.id})">删除</a></div>
                    </div>
                      <div class="myfontstyle" style="height:36px;width:100%;margin-left:2%;font-size:10pt;color:#8b8c8e;padding-top:10px;">{$vo.content}...</div>  
                </div>
            </div>
<!--讨论题结束-->
</volist>
<div class="myfontstyle" id="pageid" style="width:40%;height:50px;padding-top:20px;clear:both;">{$page}</div>	        
</body>
</html>
